package org.jeecg.modules.dataAlgorithmLibrary.service;

import org.jeecg.modules.dataAlgorithmLibrary.entity.DataCiteFunction;
import org.jeecg.modules.dataAlgorithmLibrary.entity.DataResultRangeSet;
import org.jeecg.modules.dataAlgorithmLibrary.entity.DataAlgorithmLibrary;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 算法库
 * @Author: jeecg-boot
 * @Date:   2023-02-18
 * @Version: V1.0
 */
public interface IDataAlgorithmLibraryService extends IService<DataAlgorithmLibrary> {

	/**
	 * 添加一对多
	 *
	 * @param dataAlgorithmLibrary
	 * @param dataCiteFunctionList
	 * @param dataResultRangeSetList
	 */
	public void saveMain(DataAlgorithmLibrary dataAlgorithmLibrary,List<DataCiteFunction> dataCiteFunctionList,List<DataResultRangeSet> dataResultRangeSetList) ;
	
	/**
	 * 修改一对多
	 *
   * @param dataAlgorithmLibrary
   * @param dataCiteFunctionList
   * @param dataResultRangeSetList
	 */
	public void updateMain(DataAlgorithmLibrary dataAlgorithmLibrary,List<DataCiteFunction> dataCiteFunctionList,List<DataResultRangeSet> dataResultRangeSetList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
